import util.DBUtil;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

public class UBUtiltest {
    public void selectTest() throws SQLException, ClassNotFoundException {
        Connection con = DBUtil.getConnection();
        String sql="select * from j_user";
        PreparedStatement ps=con.prepareStatement(sql);

        DBUtil.close(ps,con);
    }
}
